﻿using System;
using CommonLibrary;

namespace Client
{
    partial class MainWindow
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (MainWindowThisUser != null)
            {
                Protocol.SignOut signOutMessage = new Protocol.SignOut();
                signOutMessage.MyName = MainWindowThisUser.MyName;
                signOutMessage.MyUid = MainWindowThisUser.MyUid;
                signOutMessage.SendTime = DateTime.Now;
                var messageSend = CommonFunctionClass.SealMessageToEnvelope(signOutMessage, signOutMessage.MyUid, false,
                                                                            false);
                SendDataDelegateFunc(messageSend);
            }
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.userInfoLabel = new System.Windows.Forms.Label();
            this.loginBtn = new System.Windows.Forms.Button();
            this.serverInfoLabel = new System.Windows.Forms.Label();
            this.UserIDlabel = new System.Windows.Forms.Label();
            this.LoginStatelabel = new System.Windows.Forms.Label();
            this.listBoxUsersInfo = new System.Windows.Forms.ListBox();
            this.buttonRegister = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // userInfoLabel
            // 
            this.userInfoLabel.AutoSize = true;
            this.userInfoLabel.Location = new System.Drawing.Point(12, 17);
            this.userInfoLabel.Name = "userInfoLabel";
            this.userInfoLabel.Size = new System.Drawing.Size(89, 12);
            this.userInfoLabel.TabIndex = 0;
            this.userInfoLabel.Text = "请登录或者注册";
            // 
            // loginBtn
            // 
            this.loginBtn.Location = new System.Drawing.Point(121, 12);
            this.loginBtn.Name = "loginBtn";
            this.loginBtn.Size = new System.Drawing.Size(75, 23);
            this.loginBtn.TabIndex = 1;
            this.loginBtn.Text = "登录";
            this.loginBtn.UseVisualStyleBackColor = true;
            this.loginBtn.Click += new System.EventHandler(this.LoginBtnClick);
            // 
            // serverInfoLabel
            // 
            this.serverInfoLabel.AutoSize = true;
            this.serverInfoLabel.Location = new System.Drawing.Point(12, 96);
            this.serverInfoLabel.Name = "serverInfoLabel";
            this.serverInfoLabel.Size = new System.Drawing.Size(113, 12);
            this.serverInfoLabel.TabIndex = 2;
            this.serverInfoLabel.Text = "未连接到任何服务器";
            // 
            // UserIDlabel
            // 
            this.UserIDlabel.AutoSize = true;
            this.UserIDlabel.Location = new System.Drawing.Point(12, 40);
            this.UserIDlabel.Name = "UserIDlabel";
            this.UserIDlabel.Size = new System.Drawing.Size(89, 12);
            this.UserIDlabel.TabIndex = 3;
            this.UserIDlabel.Text = "请登录或者注册";
            // 
            // LoginStatelabel
            // 
            this.LoginStatelabel.AutoSize = true;
            this.LoginStatelabel.Location = new System.Drawing.Point(12, 63);
            this.LoginStatelabel.Name = "LoginStatelabel";
            this.LoginStatelabel.Size = new System.Drawing.Size(89, 12);
            this.LoginStatelabel.TabIndex = 4;
            this.LoginStatelabel.Text = "请登录或者注册";
            // 
            // listBoxUsersInfo
            // 
            this.listBoxUsersInfo.FormattingEnabled = true;
            this.listBoxUsersInfo.ItemHeight = 12;
            this.listBoxUsersInfo.Location = new System.Drawing.Point(14, 118);
            this.listBoxUsersInfo.Name = "listBoxUsersInfo";
            this.listBoxUsersInfo.Size = new System.Drawing.Size(182, 280);
            this.listBoxUsersInfo.TabIndex = 5;
            this.listBoxUsersInfo.DoubleClick += new System.EventHandler(this.ListBoxUsersInfoDoubleClick);
            // 
            // buttonRegister
            // 
            this.buttonRegister.Location = new System.Drawing.Point(121, 41);
            this.buttonRegister.Name = "buttonRegister";
            this.buttonRegister.Size = new System.Drawing.Size(75, 23);
            this.buttonRegister.TabIndex = 6;
            this.buttonRegister.Text = "注册";
            this.buttonRegister.UseVisualStyleBackColor = true;
            this.buttonRegister.Click += new System.EventHandler(ButtonRegisterClick);
            // 
            // MainWindow
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(208, 410);
            this.Controls.Add(this.buttonRegister);
            this.Controls.Add(this.listBoxUsersInfo);
            this.Controls.Add(this.LoginStatelabel);
            this.Controls.Add(this.UserIDlabel);
            this.Controls.Add(this.serverInfoLabel);
            this.Controls.Add(this.loginBtn);
            this.Controls.Add(this.userInfoLabel);
            this.Name = "MainWindow";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "MainWindow";
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Label userInfoLabel;
        private System.Windows.Forms.Button loginBtn;
        private System.Windows.Forms.Label serverInfoLabel;
        private System.Windows.Forms.Label UserIDlabel;
        private System.Windows.Forms.Label LoginStatelabel;
        private System.Windows.Forms.ListBox listBoxUsersInfo;
        private System.Windows.Forms.Button buttonRegister;

    }
}